import request from '@/utils/request'

export function getClientetes(query) {
  return request({
    url: '/customer/clientete/getList',
    method: 'post',
    data: query
  })
}

export function getCientete(id) {
  return request({
    url: '/customer/clientete/getDetail',
    method: 'post',
    data: id
  })
}

export function saveCientete(a) {
  return request({
    url: '/customer/clientete/save',
    method: 'post',
    data: a
  })
}

export function removeCienteteByID(id) {
  return request({
    url: '/customer/clientete/delete',
    method: 'post',
    data: id
  })
}

export function changeStatusByClienteteID(formdata) {
  return request({
    url: '/customer/clientete/change-status',
    method: 'post',
    data: formdata
  })
}

